<template>
    <div class="swipwe-box">
        <div class="swiper-container">
            <div class="swiper-wrapper">
                <div class="swiper-slide">
                    C&Chttps:/ /workspace .easyv.cloud/create/851601
                </div>
                <div class="swiper-slide">
                    https:/ /workspace.easyv.cloud/create/851601勒索软件
                </div>
                <div class="swiper-slide">
                    https:/ /workspace.easyv.cloud/create/ 851601挖矿
                </div>
                <div class="swiper-slide">
                    Ahttps:/ /workspace.easyv.cloud create/851601PT/勒索软件
                </div>
                <div class="swiper-slide">
                    https:/ /workspace.easyv.cloud/ create/851601僵户网络
                </div>
                <div class="swiper-slide">
                    https://workspace easyv.cloud/ create/851601网页篡改
                </div>
                <div class="swiper-slide">
                    https:/ /workspace.easyv.cloud/ create/851601VPN
                </div>
                <div class="swiper-slide">
                    https://workspace easyv.cloud/create/851601
                </div>
            </div>
        </div>
    </div>
</template>
<script>
import Swiper from "swiper";
import "swiper/swiper.min.css";
export default {
    mounted() {
        this.drawSwiper();
    },
    methods: {
        drawSwiper() {
            var swiper = new Swiper(".swiper-container", {
                slidesPerView: 7,
                spaceBetween: 30,
                autoplayDisableOnInteraction: false,
                direction: "vertical",
                observer: true,//修改swiper自己或子元素时，自动初始化swiper 
                observeParents: true,//修改swiper的父元素时，自动初始化swiper 
                autoplay: true,
                centeredSlides: true,
                loop: true
            });
            console.log(swiper);
        }
    }
};
</script>
<style scoped>
html,
body {
    position: relative;
    height: 100%;
}

body {
    background: #eee;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.swipwe-box {
    width: 600px;
    height: 400px;
    overflow: hidden;
    background: #001b4e;
}

.swiper-container {
    width: 100%;
    height: 100%;
    /* 取消鼠标复制功能 */
    -moz-user-select: none;
    /* Firefox私有属性 */
    -webkit-user-select: none;
    /* WebKit内核私有属性 */
    -ms-user-select: none;
    /* IE私有属性(IE10及以后) */
    -khtml-user-select: none;
    /* KHTML内核私有属性 */
    -o-user-select: none;
    /* Opera私有属性 */
    user-select: none;
    /* CSS3属性 */
}

.swiper-slide {
    text-align: center;
    font-size: 18px;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    transition: 300ms;
    /* 非高亮颜色 */
    color: #959fb6;
    transform: scale(0.8);
}

.swiper-slide-active,
.swiper-slide-duplicate-active {
    /* 高亮颜色 */
    color: #fafbfc;
    transform: scale(1);
}
</style>
